package name.as3.frameworkTestSupport.facade
{
import flash.display.Sprite;

import name.as3.cmdFrameworks.core.Facade;
import name.as3.frameworkTest.commands.StartAppCommand;
import name.as3.frameworkTest.enums.CommandTestType;
import name.as3.frameworkTestSupport.enums.ManagerType;
import name.as3.frameworkTestSupport.manager.SharedObjectManager;
import name.as3.frameworkTestSupport.ui.controls.TestAlert;

public class TestFacade extends Facade
{
	/**
	 *
	 */
	public function TestFacade(strKey:String=null)
	{
		super(strKey);
	}
//==================================================================================================
// public
//==================================================================================================
	public function startup(contApp:Sprite):void
	{
		this.init(contApp, new TestAlert());
		TestAlert(sgs()).init(contApp);
		/*
		*/
		this.addManager(ManagerType.SO_MANAGER, new SharedObjectManager());
		this.invokeCommand(CommandTestType.StartApp, StartAppCommand);
	}
}
}